package com.chukun.multi.serialthreadconfinement;

/**
 * @author chukun
 *  示例代码
 */
public class SampleClient {

    private static final MessageFileDownloader DOWNLOADER;

    static {
        DOWNLOADER = new MessageFileDownloader("/home/chukun/tmp",
                "192.168.60.100","chukun","123456");
        DOWNLOADER.init();
    }

    public static void main(String[] args) {
        DOWNLOADER.downLoadFile("abc.xml");
        // 省略其他的操作
    }
}
